package com.gec.auction.mapper;

import com.gec.auction.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;

/**
* @author YE
* @description 针对表【user】的数据库操作Mapper
* @createDate 2023-11-04 10:22:12
* @Entity com.gec.auction.pojo.User
*/
@Mapper
public interface UserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    /**
     * 通过用户输入账号密码 判断数据库是否存在该账户
     */
    User findUserByUserNameAndPassword(User user);
}
